package o;

import android.content.Context;
import android.content.DialogInterface.OnDismissListener;
import android.text.TextUtils;
import android.view.View;
import com.huawei.appgallery.foundation.ui.framework.widget.dialog.dialogactivity.DialogActivity.a;

public class fcf {
    private a ˋ;
    private Context ॱ;

    fcf(Context context, String str) {
        this.ॱ = context;
        this.ˋ = new a(context, str);
    }

    public void ˋ(String str) {
        this.ˋ.ˏ(str);
    }

    public void ॱ(String str) {
        this.ˋ.ॱ(str);
    }

    public void ˋ(View view, ckj o_ckj) {
        this.ˋ.ˎ(view, o_ckj);
    }

    void ˊ(ckh.a aVar) {
        this.ˋ.ˏ(aVar);
    }

    void ˎ(String str) {
        if (TextUtils.isEmpty(str)) {
            this.ˋ.ˊ(-1, 8);
        } else {
            this.ˋ.ˋ(-1, fcl.ˊ(str));
        }
    }

    void ˏ(String str) {
        if (TextUtils.isEmpty(str)) {
            this.ˋ.ˊ(-2, 8);
        } else {
            this.ˋ.ˋ(-2, fcl.ˊ(str));
        }
    }

    public void ˊ() {
        if (!fcl.ॱ(this.ॱ)) {
            this.ˋ.ˎ();
        }
    }

    public boolean ˎ() {
        return this.ˋ.ˋ();
    }

    void ॱ(OnDismissListener onDismissListener) {
        this.ˋ.ˋ(onDismissListener);
    }
}
